﻿using mozhi.smarterp.AuthorCenter.Permissions.Items;
using mozhi.smarterp.AuthorCenter.Permissions.PermissionGrants;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.AuthorCenter.Permissions.PermissionApiGrants
{
    public interface IPermissionItemApiGrantAppService : IApplicationService
    {
        Task<List<PermissionItemApiGrantDto>> GetListAsync(PermissionItemApiGrantFilter filter);

        Task<PermissionItemApiGrantDto> GetAsync(Guid id);

        Task<List<PermissionItemApiGrantDto>> CreateAsync(List<PermissionItemApiGrantCreateDto> inputs);

        Task<List<PermissionItemApiGrantDto>> UpdateAsync(Guid permissionItemId, List<PermissionItemApiGrantUpdateDto> inputs);

        Task DeleteAsync(Guid id);
    }
}
